package com.sq.partner.manager.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.sq.partner.manager.mybatis.model.CoreDept;
import com.sq.partner.manager.mybatis.model.TGatewayInvoice;
import com.sq.partner.manager.util.Page;

/**
 * 组合方案配置
 * @author zhihuizhao
 *
 */
public interface IPushInfoManagerDao {
	public Page queryInviocePageByCriteria(Page page) throws Exception ;
	 
	public boolean editInvioceGroup(TGatewayInvoice tGatewayInvoice) throws Exception;
	
	public  List<Map<String, Object>> queryInvioceByID(Map<String, Object> map) throws SQLException;
	
	public Map<String, String> queryIsPushInvioceBypartnerNo(String partnerNo)throws Exception;
	
	public List<Map<String, Object>> beforePushInvioce(Map<String, Object> map)throws SQLException;

	public List<String> queryUserDept(String userId) throws Exception;
	
	public List<CoreDept> queryDeptList(List<String>  deptStr) throws Exception;

	void rePushByPol(String polNo) throws Exception;

	void rePushByPolList(List<String> polList) throws Exception;

	String selectInvoiceStatusByPol(String polNo) throws SQLException;

	public Page queryNocarInviocePageByCriteria(Page page) throws Exception ;
}
